import React, { Component } from 'react'
import RouterView from '../router/RouterView'
import RouterLink from "../router/RouterLink"
import { Ellipsis,ManagerO } from '@react-vant/icons';
export class Home extends Component {
  render() {
    const{routerConfig}=this.props
    return (
      <div>
        <header>
          <p><Ellipsis/><input type="text" placeholder='请输入内容' /><ManagerO  /></p>
        </header>
        <main>
          <RouterView routerConfig={routerConfig}></RouterView>
        </main>
        <footer>
          <RouterLink routerConfig={routerConfig}></RouterLink>
        </footer>
      </div>
    )
  }
}

export default Home